export class EventBus {
public   arryBO:number[]=[]  //历史血氧存储
   public   arryHR:number[]=[]//历史心率存储
  public   arryT:number[]=[]//历史温度存储
  private  uid:string;
  private  userName: string;
  private  HR:number=0
  private BO:number=0
  private BP1:number=0
  private BP2:number=0
  private Tempererature:number=0
  private datedate:Date=new Date()
  private url:string
  private id:number
private  ECG_0:number=0
  private ECG_1:number=0
  private ECG_2:number=0
  private ECG_3:number=0
  private ECG_4:number=0
  private ECG_5:number=0
  private ECG_6:number=0
  private ECG_7:number=0
  private ECG_8:number=0
  private ECG_9:number=0
  private ECG_10:number=0
  private ECG_11:number=0
  private ECG_12:number=0
  private ECG_13:number=0
  private ECG_14:number=0
  private ECG_15:number=0
  private ECG_16:number=0
  private ECG_17:number=0
  private ECG_18:number=0
  private ECG_19:number=0
  private ECG_20:number=0
  private ECG_21:number=0
  private ECG_22:number=0
  private ECG_23:number=0
  private ECG_24:number=0
  private ECG_25:number=0
  private ECG_26:number=0


  // 订阅事件
public arryBOset(arryBO){
  this.arryBO=arryBO
}
  public arryHRset(arryHR){
    this.arryHR=arryHR
  }
  public arryTset(arryT){
    this.arryT=arryT
  }
  public arryTget(){
    return this.arryT
  }
  public arryBOget(){
    return this.arryBO
  }
  public arryHRget(){
    return this.arryHR
  }



  public uidset(uid){
    this.uid=uid
  }
  public uidget(){
    return this.uid
  }
  public userNameset(userName){
    this.userName=userName
  }
  public userNameget(){
    return this.userName
  }
  public HRset(HR){
    this.HR=HR
  }
  public HRget(){
    return this.HR
  }
  public BOset(BO){
    this.BO=BO
  }
  public BOget(){
    return this.BO
  }
  public BP1set(BP1){
    this.BP1=BP1
  }
  public BP1get(){
    return this.BP1
  }
  public BP2set(BP2){
    this.BP2=BP2
  }
  public BP2get(){
    return this.BP2
  }
  public Tempereratureset(Tempererature){
    this.Tempererature=Tempererature
  }
  public Tempereratureget(){
    return this.Tempererature

  }
  public  datedateset(datedate){
    this.datedate=datedate
  }
  public  datedateget(){
    return this.datedate
  }
public urlsetset(url){
  this.url=url
}
  public urlsget(){
    return this.url
  }
  public idset(id){
    this.id=id
  }
  public idget(){
    return this.id
  }

  public setECG_0(ECG_0) {
    this.ECG_0 = ECG_0;
  }

  public getECG_0() {
    return this.ECG_0;
  }

  public setECG_1(ECG_1) {
    this.ECG_1 = ECG_1;
  }

  public getECG_1() {
    return this.ECG_1;
  }

  public setECG_2(ECG_2) {
    this.ECG_2 = ECG_2;
  }

  public getECG_2() {
    return this.ECG_2;
  }

  public setECG_3(ECG_3) {
    this.ECG_3 = ECG_3;
  }

 public  getECG_3() {
    return this.ECG_3;
  }

 public  setECG_4(ECG_4) {
    this.ECG_4 = ECG_4;
  }

  public getECG_4() {
    return this.ECG_4;
  }

 public  setECG_5(ECG_5) {
    this.ECG_5 = ECG_5;
  }

 public  getECG_5() {
    return this.ECG_5;
  }

 public  setECG_6(ECG_6) {
    this.ECG_6 = ECG_6;
  }

  public getECG_6() {
    return this.ECG_6;
  }

  public setECG_7(ECG_7) {
    this.ECG_7 = ECG_7;
  }


  public getECG_7() {
    return this.ECG_7;
  }

  public setECG_8(ECG_8) {
    this.ECG_8 = ECG_8;
  }

  public getECG_8() {
    return this.ECG_8;
  }

  public setECG_9(ECG_9) {
    this.ECG_9 = ECG_9;
  }

  public getECG_9() {
    return this.ECG_9;
  }

  public setECG_10(ECG_10) {
    this.ECG_10 = ECG_10;
  }

  public getECG_10() {
    return this.ECG_10;
  }
public setECG_11(ECG_11) {
  this.ECG_11 = ECG_11;
}
  public getECG_11() {
    return this.ECG_11;
  }
  public setECG_12(ECG_12) {
    this.ECG_12 = ECG_12;
  }
  public getECG_12() {
    return this.ECG_12;
  }
  public setECG_13(ECG_13) {
    this.ECG_13 = ECG_13;
  }
  public getECG_13() {
    return this.ECG_13;
  }
  public setECG_14(ECG_14) {
    this.ECG_14 = ECG_14;
  }
  public getECG_14() {
    return this.ECG_14;
  }
  public setECG_15(ECG_15) {
    this.ECG_15 = ECG_15;
  }
  public getECG_15() {
    return this.ECG_15;
  }
  public setECG_16(ECG_16) {
    this.ECG_16 = ECG_16;
  }
  public getECG_16() {
    return this.ECG_16;
  }
  public setECG_17(ECG_17) {
    this.ECG_17 = ECG_17;
  }
  public getECG_17() {
    return this.ECG_17;
  }
  public setECG_18(ECG_18) {
    this.ECG_18 = ECG_18;
  }
  public getECG_18() {
    return this.ECG_18;
  }
  public setECG_19(ECG_19) {
    this.ECG_19 = ECG_19;
  }
  public getECG_19() {
    return this.ECG_19;
  }
  public setECG_20(ECG_20) {
    this.ECG_20 = ECG_20;
  }
  public getECG_20() {
    return this.ECG_20;
  }
  public setECG_21(ECG_21) {
    this.ECG_21 = ECG_21;
  }
  public getECG_21() {
    return this.ECG_21;
  }
  public setECG_22(ECG_22) {
    this.ECG_22 = ECG_22;
  }
  public getECG_22() {
    return this.ECG_22;
  }
  public setECG_23(ECG_23) {
    this.ECG_23 = ECG_23;
  }
  public getECG_23() {
    return this.ECG_23;
  }
  public setECG_24(ECG_24) {
    this.ECG_24 = ECG_24;
  }
  public getECG_24() {
    return this.ECG_24;
  }
  public setECG_25(ECG_25) {
    this.ECG_25 = ECG_25;
  }
  public getECG_25() {
    return this.ECG_25;
  }
  public setECG_26(ECG_26) {
    this.ECG_26 = ECG_26;
  }
  public getECG_26() {
    return this.ECG_26;
  }


}